home *** CD-ROM | disk | FTP | other *** search
/ Champak 146 / (Vol 146) Jan 07 2012.iso / Games / urban_swat.swf / scripts / DefineSprite_139 / frame_1 / DoAction.as
Encoding:
Text File  |  2012-01-07  |  1.3 KB  |  55 lines

  1. var ┬º\x01┬º = 312;
  2. if(eval("\x01") == 312)
  3. {
  4.    set("\x01",eval("\x01") + 221);
  5.    ┬º┬ºpush(true);
  6.    ┬º┬ºpush(false);
  7.    ┬º┬ºpush(false);
  8.    ┬º┬ºpush(true);
  9.    while(true)
  10.    {
  11.       if(┬º┬ºpop())
  12.       {
  13.       }
  14.       if(┬º┬ºpop())
  15.       {
  16.       }
  17.       if(┬º┬ºpop())
  18.       {
  19.          break;
  20.       }
  21.       ┬º┬ºpush(true);
  22.       ┬º┬ºpush(false);
  23.    }
  24.    set("\x01",100);
  25.    eval("\x02")["\x03"] = function(arr)
  26.    {
  27.       for(┬º\x04┬º in arr)
  28.       {
  29.          arr[eval("\x04")][┬º┬ºconstant(5)](┬º┬ºconstant(4));
  30.       }
  31.       ┬º┬ºconstant(7)(arr[┬º┬ºconstant(6)],arr);
  32.    };
  33.    eval("\x02")[┬º┬ºconstant(7)] = function(numFlies, arr)
  34.    {
  35.       if(numFlies >= 1)
  36.       {
  37.          if(numFlies > 1)
  38.          {
  39.             _root[┬º┬ºconstant(8)][┬º┬ºconstant(9)][┬º┬ºconstant(10)] = ┬º┬ºconstant(11) + numFlies;
  40.          }
  41.          else
  42.          {
  43.             _root[┬º┬ºconstant(8)][┬º┬ºconstant(9)][┬º┬ºconstant(10)] = ┬º┬ºconstant(12);
  44.          }
  45.          _root[┬º┬ºconstant(8)][┬º┬ºconstant(13)][┬º┬ºconstant(10)] = ┬º┬ºconstant(14) + numFlies * numFlies * 100;
  46.          _root[┬º┬ºconstant(13)] += numFlies * numFlies * 100;
  47.          _root[┬º┬ºconstant(8)][┬º┬ºconstant(5)](2);
  48.       }
  49.    };
  50. }
  51. else if(eval("\x01") == 533)
  52. {
  53.    set("\x01",eval("\x01") - 29);
  54. }
  55.